﻿#pragma once

namespace Algorithm {

class CalcDistance
{
public:
	CalcDistance() = default;
	~CalcDistance() = default;

	void updateDistance(const float vehSpd);

    float getDistance(void) const {return distance_;}

#ifndef SIL_SIM_BASE_MF4_FILE
private:
#endif
	float distance_ = 0.0F; //unit m
};

} //namespace Algorithm
